Skip to content

test: fix JSON docs and startup fixtures - #93

Merged
jsugg merged 2 commits into
mainfrom
test/json-v1-contract
Oct 11, 2026
Merged

jsugg merged 2 commits into
mainfrom
test/json-v1-contract

Conversation

@jsugg

@jsugg jsugg commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

The JSON guide now matches the binary, including lowercase IDs, duration strings,
tagged outcomes, and error envelopes on stderr. It covers scheduling, job and run
commands, doctor, version, and service commands.

Added key, value, and type tests. The process test checks a live command and monitor
instead of accepting an empty result. The version and error examples are checked
against real CLI output; the outcome examples cover every variant.

CI exposed two existing fixture races. Service tests now wait for a published
identity and initialized database. The retention test stops the old supervisor,
ages the whole timeline coherently, compares the default and configured windows,
and checks the exact purge error. Failure and timeout cases use scoped cleanup.

No JSON schema or runtime behavior changes. The production peer-bootstrap timing
limit found during diagnosis remains separate SQLite work.

Checks:

  • scripts/check.sh full passed with all 532 current-tree tests.
  • Repeated retention, service, and monitor tests passed in 23 runs, with no extra live ATX processes.
  • Clippy, Rust 1.85, rustdoc, dependency checks, Markdown, and offline links passed.
  • The source package passed verification and publication dry run. Nothing was uploaded.

The failed CI logs and earlier local startup timeout remain recorded. This adds a
corrective commit rather than rerunning the old failures without changing anything.

@jsugg jsugg changed the title test(cli): pin JSON v1 values and docs test: fix JSON docs and startup fixtures Oct 11, 2026
@jsugg
jsugg merged commit 47d3fb2 into main Oct 11, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant